package com.ds.config;

import com.ds.service.JavaService;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @program: SpringBoot
 * @description:
 * @author: Dawson.Zhang
 * @create: 2020-04-11
 **/
@Configuration
public class SpringConfig {
    @Bean
    public JavaService getJavaService() {
        return new JavaService();
    }
}
